<script>
export default {
  name: 'MPagination',
  functional: true,
  render: function (h, context) {
    // 完全透传任何 attribute、事件监听器、子节点等。
    return (
      <el-pagination
        hide-on-single-page
        background
        pager-count={5}
        page-size={10}
        {...context.data}>
      </el-pagination>
    )
  }
}
</script>
